package com.shujia.bigdata.map;

public class Demo6 {
    public static void main(String[] args) {


        Object java = fun("java");

        Object fun = fun(12);

        String spark = fun("spark");

        Integer fun1 = fun(123);

    }


    /**
     * 泛型方法
     *
     */
    public static <T> T fun(T obi) {
        return obi;
    }
}
